Method GetGroupBySqlPreviewAsync(long, IEnumerable<GroupFieldRequest>, IEnumerable<AggregateRequest>, string?, string?, CancellationToken)

Assembly: redb.MSSql.dll

Returns the inner SELECT compiled by dbo.pvt_build_groupby_sql for
the requested grouping. Mirrors PostgreSQL's GetGroupBySqlPreviewAsync
so ToSqlStringAsync on grouped queryables surfaces the actual SQL
instead of a "preview not supported" placeholder.

public override Task<string> GetGroupBySqlPreviewAsync(long schemeId, IEnumerable<GroupFieldRequest> groupFields, IEnumerable<AggregateRequest> aggregations, string? filterJson, string? havingJson = null, CancellationToken cancellationToken = default)